﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using DAL;
using Entity;

namespace BUL
{
    public class ImageBul
    {
        ImageDal dal=new ImageDal();
        public List<Image> Image_GetById(string Id)
        {
            
            return dal.Image_GetById(Id);
        }


        public List<Image> Image_GetByTop(string Top, string Where, string Order)
        {
            
            return dal.Image_GetByTop(Top,Where,Order);
        }


        public List<Image> Image_GetByAll(string Lang)
        {
           
            return dal.Image_GetByAll(Lang);
        }


        public bool Image_Insert(Image data)
        {
           
            return dal.Image_Insert(data);
        }


        public bool Image_Update(Image data)
        {
            
            return dal.Image_Update(data);
        }


        public bool Image_Delete(string Id)
        {
            
            return dal.Image_Delete(Id);
        }
    }
}
